avienc: Remove unused variable 'ret'

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Reto Kromer 2016-02-20 20:04:08 +01:00 committed by Timothy Gu
parent 029c069c6d
commit f8d685270e
1 changed files with 0 additions and 1 deletions

View File

@ -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;