diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-16 07:55:57 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-16 07:55:57 +0000 |
commit | c76911bd658377003293f65e3f83aed59029c624 (patch) | |
tree | 6c40e4d0f9966e61a724e23aff4adf22ff5abb06 /libavcodec/dv.c | |
parent | 046c40010390af94bf3379f7e1eff9b5a5ddd250 (diff) | |
download | ffmpeg-c76911bd658377003293f65e3f83aed59029c624.tar.gz |
Split parts of dvdata.h into dvdata.c, this ensures that things like
work_chunks_* and dv_idct_factor_* variables appear only once in the binary
instead of 3 times.
Saves 3264 bytes in .rodata and 312416 bytes in .bss on x86_64.
Originally committed as revision 20246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 9b56977345..8fcfb7db56 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -1128,7 +1128,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, int buf_size = avpkt->size; DVVideoContext *s = avctx->priv_data; - s->sys = dv_frame_profile(s->sys, buf, buf_size); + s->sys = ff_dv_frame_profile(s->sys, buf, buf_size); if (!s->sys || buf_size < s->sys->frame_size || dv_init_dynamic_tables(s->sys)) { av_log(avctx, AV_LOG_ERROR, "could not find dv frame profile\n"); return -1; /* NOTE: we only accept several full frames */ @@ -1293,7 +1293,7 @@ static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size, { DVVideoContext *s = c->priv_data; - s->sys = dv_codec_profile(c); + s->sys = ff_dv_codec_profile(c); if (!s->sys || buf_size < s->sys->frame_size || dv_init_dynamic_tables(s->sys)) return -1; |