[FFmpeg-cvslog] avienc: Remove unused variable 'ret'
Reto Kromer
git at videolan.org
Sun Feb 21 00:45:58 CET 2016
ffmpeg | branch: master | Reto Kromer <rk at reto.ch> | Sat Feb 20 20:04:08 2016 +0100| [f8d685270e5829ef670f7dc5eaa5f57a66c331d8] | committer: Timothy Gu
avienc: Remove unused variable 'ret'
Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f8d685270e5829ef670f7dc5eaa5f57a66c331d8
---
libavformat/avienc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 4e7bca4..0b0f8fc 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -705,7 +705,6 @@ static int avi_write_packet_internal(AVFormatContext *s, AVPacket *pkt)
AVIOContext *pb = s->pb;
AVIStream *avist = s->streams[stream_index]->priv_data;
AVCodecContext *enc = s->streams[stream_index]->codec;
- int ret;
if (pkt->dts != AV_NOPTS_VALUE)
avist->last_dts = pkt->dts + pkt->duration;
More information about the ffmpeg-cvslog
mailing list