mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avcodec/h264_picture: Fix build without error resilience
Found-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c9ab879011
commit
be656c362d
1 changed files with 2 additions and 2 deletions
|
|
@ -130,9 +130,9 @@ fail:
|
|||
return ret;
|
||||
}
|
||||
|
||||
#if CONFIG_ERROR_RESILIENCE
|
||||
void ff_h264_set_erpic(ERPicture *dst, H264Picture *src)
|
||||
{
|
||||
#if CONFIG_ERROR_RESILIENCE
|
||||
int i;
|
||||
|
||||
memset(dst, 0, sizeof(*dst));
|
||||
|
|
@ -150,8 +150,8 @@ void ff_h264_set_erpic(ERPicture *dst, H264Picture *src)
|
|||
|
||||
dst->mb_type = src->mb_type;
|
||||
dst->field_picture = src->field_picture;
|
||||
}
|
||||
#endif /* CONFIG_ERROR_RESILIENCE */
|
||||
}
|
||||
|
||||
int ff_h264_field_end(H264Context *h, int in_setup)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue