aboutsummaryrefslogtreecommitdiff
path: root/libavformat/avienc.c
diff options
context:
space:
mode:
authorReto Kromer2016-02-20 20:04:08 +0100
committerTimothy Gu2016-02-20 15:45:28 -0800
commitf8d685270e5829ef670f7dc5eaa5f57a66c331d8 (patch)
tree57b4e984aef5f3406e0a3236a3f5f7d1193f67a8 /libavformat/avienc.c
parent029c069c6d98fd2ff0ab9e615f5445655501175f (diff)
avienc: Remove unused variable 'ret'
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r--libavformat/avienc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 4e7bca43fe..0b0f8fcec6 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;