Skip to content

Commit

Permalink
Merge commit 'e89247debd5276d57ce4a26516224204f9541af0'
Browse files Browse the repository at this point in the history
* commit 'e89247debd5276d57ce4a26516224204f9541af0':
  mpeg4videodec: replace MpegEncContext.reduced_res_vop with a local variable

Merged-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Nov 30, 2013
2 parents f4c28ae + e89247d commit 47e5eaf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions libavcodec/mpeg4videodec.c
Expand Up @@ -1984,13 +1984,11 @@ static int decode_vol_header(Mpeg4DecContext *ctx, GetBitContext *gb)
skip_bits(gb, 2); /* requested upstream message type */
skip_bits1(gb); /* newpred segment type */
}
s->reduced_res_vop = get_bits1(gb);
if (s->reduced_res_vop)
if (get_bits1(gb)) // reduced_res_vop
av_log(s->avctx, AV_LOG_ERROR,
"reduced resolution VOP not supported\n");
} else {
s->new_pred = 0;
s->reduced_res_vop = 0;
}

s->scalability = get_bits1(gb);
Expand Down
1 change: 0 additions & 1 deletion libavcodec/mpegvideo.h
Expand Up @@ -609,7 +609,6 @@ typedef struct MpegEncContext {
int hierachy_type;
int enhancement_type;
int new_pred;
int reduced_res_vop;
int aspect_ratio_info; //FIXME remove
int sprite_warping_accuracy;
int data_partitioning; ///< data partitioning flag from header
Expand Down

0 comments on commit 47e5eaf

Please sign in to comment.