mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-07 15:22:57 +00:00
h264: Eliminate unused but set variable
libavcodec/h264_slice.c:1384:9: warning: variable 'droppable' set but not used
This commit is contained in:
parent
4dbfcd0757
commit
3c84eaae9d
@ -1378,8 +1378,7 @@ static int h264_slice_header_parse(H264SliceContext *sl, const H2645NAL *nal,
|
|||||||
const PPS *pps;
|
const PPS *pps;
|
||||||
int ret;
|
int ret;
|
||||||
unsigned int slice_type, tmp, i;
|
unsigned int slice_type, tmp, i;
|
||||||
int field_pic_flag, bottom_field_flag;
|
int field_pic_flag, bottom_field_flag, picture_structure;
|
||||||
int droppable, picture_structure;
|
|
||||||
|
|
||||||
sl->first_mb_addr = get_ue_golomb(&sl->gb);
|
sl->first_mb_addr = get_ue_golomb(&sl->gb);
|
||||||
|
|
||||||
@ -1430,7 +1429,6 @@ static int h264_slice_header_parse(H264SliceContext *sl, const H2645NAL *nal,
|
|||||||
|
|
||||||
sl->mb_mbaff = 0;
|
sl->mb_mbaff = 0;
|
||||||
|
|
||||||
droppable = nal->ref_idc == 0;
|
|
||||||
if (sps->frame_mbs_only_flag) {
|
if (sps->frame_mbs_only_flag) {
|
||||||
picture_structure = PICT_FRAME;
|
picture_structure = PICT_FRAME;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user