]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3dec.c
asfdec: ignore stored duration for truncated files
[ffmpeg] / libavcodec / ac3dec.c
index 674de7a62b1aa724da66f3ac4d6c009e0868778d..7fb380ca870540133a4c5dd46b93fc2210e7345a 100644 (file)
@@ -876,7 +876,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
             if (s->eac3 && get_bits1(gbc)) {
                 /* TODO: parse enhanced coupling strategy info */
                 av_log_missing_feature(s->avctx, "Enhanced coupling", 1);
-                return -1;
+                return AVERROR_PATCHWELCOME;
             }
 
             /* determine which channels are coupled */