You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Fixes NULL pointer dereference CID66
Originally committed as revision 13483 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -650,6 +650,9 @@ static int avi_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
best_stream_index= i;
|
||||
}
|
||||
}
|
||||
if(!best_st)
|
||||
return -1;
|
||||
|
||||
best_ast = best_st->priv_data;
|
||||
best_ts= av_rescale(best_ts, best_st->time_base.den, AV_TIME_BASE * (int64_t)best_st->time_base.num); //FIXME a little ugly
|
||||
if(best_ast->remaining)
|
||||
|
Reference in New Issue
Block a user