[FFmpeg-devel] [PATCH] avformat/riff: remove useless tag correlation 'mpg2' --> AV_CODEC_ID_MPEG1VIDEO.
Александр Слободенюк
alexander.slobodeniuk at bramtech.ru
Fri Jul 14 13:16:45 EEST 2017
This is actually a bug, that just doesn't affect anything.
First of all, the logic of functions that work with ff_codec_bmp_tags
is "One tag -- one codec id".
Also if you write this tag as MPEG2VIDEO, and then read the header
(all by ffmpeg), it will interpret as MPEG1VIDEO:
ffmpeg -i whatever.mxf -vcodec mpeg2video test.avi
&& gdb ffprobe_g
(gdb) break avi_read_header
(gdb) r -i test.avi
(gdb) finish
(gdb) p s->streams[0]->codecpar->codec_id
$1 = AV_CODEC_ID_MPEG1VIDEO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avformat-riff-remove-useless-tag-correlation-mpg2-AV.patch
Type: application/octet-stream
Size: 968 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170714/005df8b7/attachment.obj>
More information about the ffmpeg-devel
mailing list