[FFmpeg-devel] [PATCH 3/4] avformat/mlvdec: remove unused MlvContext.buffer

Peter Ross pross at xvid.org
Sun Apr 27 04:43:45 CEST 2014


Signed-off-by: Peter Ross <pross at xvid.org>
---
(note: don't bother removing read_close() because its used in PATCH 4/4)

 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;
 }
 
-- 
1.8.3.2

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140427/6fbdef6a/attachment.asc>


More information about the ffmpeg-devel mailing list