[FFmpeg-cvslog] alsdec: do not set AVCodecContext.frame_size

Justin Ruggles git at videolan.org
Tue Mar 6 06:16:01 CET 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Feb 27 11:02:33 2012 -0500| [0efa4073bf0da33c227d32a1ae178a47b9b8966a] | committer: Justin Ruggles

alsdec: do not set AVCodecContext.frame_size

It is not necessary

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

 libavcodec/alsdec.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index bdc0be1..1b916e4 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -1691,7 +1691,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
         ctx->reverted_channels = NULL;
     }
 
-    avctx->frame_size = sconf->frame_length;
     channel_size      = sconf->frame_length + sconf->max_order;
 
     ctx->prev_raw_samples = av_malloc (sizeof(*ctx->prev_raw_samples) * sconf->max_order);



More information about the ffmpeg-cvslog mailing list