Mercurial > libavcodec.hg
diff h263.c @ 396:fce0a2520551 libavcodec
removed useless header includes - use av memory functions
author | glantau |
---|---|
date | Sat, 18 May 2002 23:03:29 +0000 |
parents | fdeec2834c79 |
children | 718a22dc121f |
line wrap: on
line diff
--- a/h263.c Sat May 18 23:01:20 2002 +0000 +++ b/h263.c Sat May 18 23:03:29 2002 +0000 @@ -1553,11 +1553,11 @@ if (run > max_run[level]) max_run[level] = run; } - rl->max_level[last] = malloc(MAX_RUN + 1); + rl->max_level[last] = av_malloc(MAX_RUN + 1); memcpy(rl->max_level[last], max_level, MAX_RUN + 1); - rl->max_run[last] = malloc(MAX_LEVEL + 1); + rl->max_run[last] = av_malloc(MAX_LEVEL + 1); memcpy(rl->max_run[last], max_run, MAX_LEVEL + 1); - rl->index_run[last] = malloc(MAX_RUN + 1); + rl->index_run[last] = av_malloc(MAX_RUN + 1); memcpy(rl->index_run[last], index_run, MAX_RUN + 1); } }