[FFmpeg-cvslog] (e)ac3 parser: set duration instead of frame_size

Justin Ruggles git at videolan.org
Tue Feb 21 05:29:41 CET 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Jan 12 20:59:43 2012 -0500| [16e54ac7255d47e70ba9ba60d5ce5d0a0e44b223] | committer: Justin Ruggles

(e)ac3 parser: set duration instead of frame_size

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=16e54ac7255d47e70ba9ba60d5ce5d0a0e44b223
---

 libavcodec/aac_ac3_parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c
index 58f30a4..8132ce8 100644
--- a/libavcodec/aac_ac3_parser.c
+++ b/libavcodec/aac_ac3_parser.c
@@ -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;
     }
 



More information about the ffmpeg-cvslog mailing list