diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-09 10:14:46 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-12-09 08:41:20 +0100 |
commit | afa21a12bf084f905187615706b0a8d92bc98661 (patch) | |
tree | 01d0e07064dbaa0f9699a70382f59bb4c8693d27 /libavcodec/pnm.c | |
parent | e2274aa555f023e4f4e4819bf29b2d7e0adec7d5 (diff) | |
download | ffmpeg-afa21a12bf084f905187615706b0a8d92bc98661.tar.gz |
p*menc: use the AVFrame API properly.
Diffstat (limited to 'libavcodec/pnm.c')
-rw-r--r-- | libavcodec/pnm.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c index eea30e8621..1c380b0ff8 100644 --- a/libavcodec/pnm.c +++ b/libavcodec/pnm.c @@ -184,13 +184,3 @@ int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s) } return 0; } - -av_cold int ff_pnm_init(AVCodecContext *avctx) -{ - PNMContext *s = avctx->priv_data; - - avcodec_get_frame_defaults(&s->picture); - avctx->coded_frame = &s->picture; - - return 0; -} |