summaryrefslogtreecommitdiff
path: root/libavformat/options.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-01-11 10:31:11 -0300
committerAnton Khirnov <anton@khirnov.net>2023-02-09 15:35:14 +0100
commit6d6ae3595b74106ad8f59800f26b96ab3dfb297e (patch)
treec6769f732b7dd74b5aa4ad8b4cd643ff81065827 /libavformat/options.c
parent1f86fc1c5ede2be519a618e5b22fd11a268021fc (diff)
avformat: remove FF_API_AVSTREAM_CLASS
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r--libavformat/options.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/options.c b/libavformat/options.c
index 0079a06d9a..c7681122cd 100644
--- a/libavformat/options.c
+++ b/libavformat/options.c
@@ -257,10 +257,7 @@ AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c)
return NULL;
st = &sti->pub;
-#if FF_API_AVSTREAM_CLASS
st->av_class = &stream_class;
-#endif
-
st->codecpar = avcodec_parameters_alloc();
if (!st->codecpar)
goto fail;