avformat/mlvdec: remove unused MlvContext.buffer
authorPeter Ross <pross@xvid.org>
Sun, 27 Apr 2014 02:43:45 +0000 (12:43 +1000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Apr 2014 13:34:22 +0000 (15:34 +0200)
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mlvdec.c

index 6550e86..4dcf52b 100644 (file)
@@ -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;
 }