mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-11 21:23:42 +00:00
flvdec: re-enable metadata parsing
duration and videodatarate values are actually useful original patch from Art Clarke aclarke _at_ xuggle _dot_ com Originally committed as revision 19363 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8caa0f0651
commit
09e54e1ff8
@ -350,7 +350,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
if ((flags & 0xf0) == 0x50) /* video info / command frame */
|
||||
goto skip;
|
||||
} else {
|
||||
if (type == FLV_TAG_TYPE_META && size > 13+1+4 && 0)
|
||||
if (type == FLV_TAG_TYPE_META && size > 13+1+4)
|
||||
flv_read_metabody(s, next);
|
||||
else /* skip packet */
|
||||
av_log(s, AV_LOG_DEBUG, "skipping flv packet: type %d, size %d, flags %d\n", type, size, flags);
|
||||
|
Loading…
Reference in New Issue
Block a user