[FFmpeg-devel] [PATCH 1/2] lavc: rename avpacket.c to packet.c

Anton Khirnov anton at khirnov.net
Wed Mar 27 12:46:45 EET 2024


For consistency with its API header packet.h.
---
 libavcodec/Makefile                 | 2 +-
 libavcodec/{avpacket.c => packet.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename libavcodec/{avpacket.c => packet.c} (100%)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 9ce6d445c1..36a4123fc9 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -32,7 +32,7 @@ OBJS = ac3_parser.o                                                     \
        avcodec.o                                                        \
        avdct.o                                                          \
        avfft.o                                                          \
-       avpacket.o                                                       \
+       packet.o                                                         \
        bitstream.o                                                      \
        bitstream_filters.o                                              \
        bsf.o                                                            \
diff --git a/libavcodec/avpacket.c b/libavcodec/packet.c
similarity index 100%
rename from libavcodec/avpacket.c
rename to libavcodec/packet.c
-- 
2.43.0



More information about the ffmpeg-devel mailing list