1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

use av_realloc()

Originally committed as revision 1504 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard 2003-01-23 22:59:35 +00:00
parent ddedacfe98
commit 47e2a6e6c5

View File

@ -2262,7 +2262,8 @@ void opt_output_file(const char *filename)
exit(1);
}
video_enc->rc_override=
realloc(video_enc->rc_override, sizeof(RcOverride)*(i+1));
av_realloc(video_enc->rc_override,
sizeof(RcOverride)*(i+1));
video_enc->rc_override[i].start_frame= start;
video_enc->rc_override[i].end_frame = end;
if(q>0){