avienc: Remove unused variable 'ret'

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
pull/178/merge
Reto Kromer 9 years ago committed by Timothy Gu
parent 029c069c6d
commit f8d685270e
  1. 1
      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;

Loading…
Cancel
Save