[FFmpeg-devel] [PATCH]Do not fail mov demuxing if metadata reading fails

Carl Eugen Hoyos cehoyos at ag.or.at
Thu May 14 16:16:31 CEST 2015


Hi!

Attached patch fixes ticket #4557 for me.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 085d2a7..a31c556 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -277,7 +277,7 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
     case MKTAG( 'k','e','y','w'): key = "keywords";  break;
     case MKTAG( 'l','d','e','s'): key = "synopsis";  break;
     case MKTAG( 'l','o','c','i'):
-        return mov_metadata_loci(c, pb, atom.size);
+        mov_metadata_loci(c, pb, atom.size); return 0;
     case MKTAG( 'p','c','s','t'): key = "podcast";
         parse = mov_metadata_int8_no_padding; break;
     case MKTAG( 'p','g','a','p'): key = "gapless_playback";


More information about the ffmpeg-devel mailing list