avcodec/pngdec: rename decode_frame to decode_frame_png

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Benoit Fouet 2014-11-14 10:17:30 +01:00 committed by Michael Niedermayer
parent b186b7131e
commit 98abb98cb1
1 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@ static int decode_text_chunk(PNGDecContext *s, uint32_t length, int compressed,
return 0; return 0;
} }
static int decode_frame(AVCodecContext *avctx, static int decode_frame_png(AVCodecContext *avctx,
void *data, int *got_frame, void *data, int *got_frame,
AVPacket *avpkt) AVPacket *avpkt)
{ {
@ -952,7 +952,7 @@ AVCodec ff_png_decoder = {
.priv_data_size = sizeof(PNGDecContext), .priv_data_size = sizeof(PNGDecContext),
.init = png_dec_init, .init = png_dec_init,
.close = png_dec_end, .close = png_dec_end,
.decode = decode_frame, .decode = decode_frame_png,
.init_thread_copy = ONLY_IF_THREADS_ENABLED(png_dec_init), .init_thread_copy = ONLY_IF_THREADS_ENABLED(png_dec_init),
.update_thread_context = ONLY_IF_THREADS_ENABLED(update_thread_context), .update_thread_context = ONLY_IF_THREADS_ENABLED(update_thread_context),
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS /*| CODEC_CAP_DRAW_HORIZ_BAND*/, .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS /*| CODEC_CAP_DRAW_HORIZ_BAND*/,