Mercurial > libavcodec.hg
comparison indeo5.c @ 11862:b42f18b5c479 libavcodec
Remove unused parameter.
author | maxim |
---|---|
date | Thu, 10 Jun 2010 16:52:54 +0000 |
parents | 31dae9841fe1 |
children | 238cfd740f10 |
comparison
equal
deleted
inserted
replaced
11861:f6a2af58f3e0 | 11862:b42f18b5c479 |
---|---|
644 | 644 |
645 /** | 645 /** |
646 * Switches buffers. | 646 * Switches buffers. |
647 * | 647 * |
648 * @param ctx [in,out] ptr to the decoder context | 648 * @param ctx [in,out] ptr to the decoder context |
649 * @param avctx [in] ptr to the AVCodecContext | 649 */ |
650 */ | 650 static void switch_buffers(IVI5DecContext *ctx) |
651 static void switch_buffers(IVI5DecContext *ctx, AVCodecContext *avctx) | |
652 { | 651 { |
653 switch (ctx->prev_frame_type) { | 652 switch (ctx->prev_frame_type) { |
654 case FRAMETYPE_INTRA: | 653 case FRAMETYPE_INTRA: |
655 case FRAMETYPE_INTER: | 654 case FRAMETYPE_INTER: |
656 ctx->buf_switch ^= 1; | 655 ctx->buf_switch ^= 1; |
750 if (ctx->gop_flags & IVI5_IS_PROTECTED) { | 749 if (ctx->gop_flags & IVI5_IS_PROTECTED) { |
751 av_log(avctx, AV_LOG_ERROR, "Password-protected clip!\n"); | 750 av_log(avctx, AV_LOG_ERROR, "Password-protected clip!\n"); |
752 return -1; | 751 return -1; |
753 } | 752 } |
754 | 753 |
755 switch_buffers(ctx, avctx); | 754 switch_buffers(ctx); |
756 | 755 |
757 //START_TIMER; | 756 //START_TIMER; |
758 | 757 |
759 if (ctx->frame_type != FRAMETYPE_NULL) { | 758 if (ctx->frame_type != FRAMETYPE_NULL) { |
760 for (p = 0; p < 3; p++) { | 759 for (p = 0; p < 3; p++) { |