summaryrefslogtreecommitdiff
path: root/libavformat/format.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-01-27 15:05:56 +0100
committerAnton Khirnov <anton@khirnov.net>2023-02-09 15:24:15 +0100
commit145f6b22231b84e59cc26a350b6c2a6237b2113d (patch)
tree39a39a840f03719ef704981fbea143387a6cf3f5 /libavformat/format.c
parent42a0dd6e7e3bc343d65a5499bd1373ad15160ab7 (diff)
avformat/avformat: Remove AVOutputFormat.data_codec
No AVOutputFormat has this set. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/format.c')
-rw-r--r--libavformat/format.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/format.c b/libavformat/format.c
index 4b1f3c2986..76f25ab5a6 100644
--- a/libavformat/format.c
+++ b/libavformat/format.c
@@ -111,8 +111,6 @@ enum AVCodecID av_guess_codec(const AVOutputFormat *fmt, const char *short_name,
return fmt->audio_codec;
else if (type == AVMEDIA_TYPE_SUBTITLE)
return fmt->subtitle_codec;
- else if (type == AVMEDIA_TYPE_DATA)
- return fmt->data_codec;
else
return AV_CODEC_ID_NONE;
}