[FFmpeg-cvslog] avformat/mlvdec: remove unused MlvContext.buffer

Peter Ross git at videolan.org
Sun Apr 27 16:36:56 CEST 2014


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sun Apr 27 12:43:45 2014 +1000| [8bd6837e5105c5e7a9758f818cf6eaf2b8c3efd6] | committer: Michael Niedermayer

avformat/mlvdec: remove unused MlvContext.buffer

Signed-off-by: Peter Ross <pross at xvid.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/mlvdec.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c
index 6550e86..4dcf52b 100644
--- a/libavformat/mlvdec.c
+++ b/libavformat/mlvdec.c
@@ -48,8 +48,6 @@ typedef struct {
     int class[2];
     int stream_index;
     uint64_t pts;
-    uint8_t * buffer;
-    unsigned int buffer_size;
 } MlvContext;
 
 static int probe(AVProbeData *p)
@@ -454,7 +452,6 @@ static int read_seek(AVFormatContext *avctx, int stream_index, int64_t timestamp
 static int read_close(AVFormatContext *s)
 {
     MlvContext *mlv = s->priv_data;
-    av_freep(&mlv->buffer);
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list