You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	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:
		| @@ -705,7 +705,6 @@ static int avi_write_packet_internal(AVFormatContext *s, AVPacket *pkt) | |||||||
|     AVIOContext *pb     = s->pb; |     AVIOContext *pb     = s->pb; | ||||||
|     AVIStream *avist    = s->streams[stream_index]->priv_data; |     AVIStream *avist    = s->streams[stream_index]->priv_data; | ||||||
|     AVCodecContext *enc = s->streams[stream_index]->codec; |     AVCodecContext *enc = s->streams[stream_index]->codec; | ||||||
|     int ret; |  | ||||||
|  |  | ||||||
|     if (pkt->dts != AV_NOPTS_VALUE) |     if (pkt->dts != AV_NOPTS_VALUE) | ||||||
|         avist->last_dts = pkt->dts + pkt->duration; |         avist->last_dts = pkt->dts + pkt->duration; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user