(e)ac3 parser: set duration instead of frame_size
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 13 Jan 2012 01:59:43 +0000 (20:59 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 20 Feb 2012 20:08:40 +0000 (15:08 -0500)
libavcodec/aac_ac3_parser.c

index 58f30a4..8132ce8 100644 (file)
@@ -93,7 +93,7 @@ get_next:
             avctx->channels = s->channels;
             avctx->channel_layout = s->channel_layout;
         }
-        avctx->frame_size = s->samples;
+        s1->duration = s->samples;
         avctx->audio_service_type = s->service_type;
     }