aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-01-23 22:59:35 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-23 22:59:35 +0000
commit47e2a6e6c521a007f78b23ed554a1b81defef936 (patch)
treeec2f4f7e9d1cf9d8a2c11220c13b6c4985edf217 /ffmpeg.c
parentddedacfe98518381233f281ca3c999b584d493e2 (diff)
downloadffmpeg-47e2a6e6c521a007f78b23ed554a1b81defef936.tar.gz
use av_realloc()
Originally committed as revision 1504 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 40d7cc80fa..7f5aadd7fc 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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){