]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aac_ac3_parser.c
avconv: remove a pointless check.
[ffmpeg] / libavcodec / aac_ac3_parser.c
index f65a4aa22b49f83885eaa9e01d2d16816f6b9331..8132ce899a811726f35bdbd1e32654acc5324215 100644 (file)
@@ -93,7 +93,8 @@ 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;
     }
 
     avctx->bit_rate = s->bit_rate;