gcc/testsuite/gcc.c-torture/compile/pr32372.c
raw| 1 | typedef struct AVCodecContext |
| 2 | { |
| 3 | int flags; |
| 4 | void *priv_data; |
| 5 | char codec_name[32]; |
| 6 | } |
| 7 | AVCodecContext; |
| 8 | typedef struct ScanTable |
| 9 | { |
| 10 | int obmc; |
| 11 | int umvplus; |
| 12 | int h263_aic; |
| 13 | } |
| 14 | MpegEncContext; |
| 15 | void |
| 16 | MPV_encode_init (AVCodecContext *avctx) |
| 17 | { |
| 18 | MpegEncContext *s = avctx->priv_data; |
| 19 | s->umvplus = (avctx->flags & 0x02000000) ? 1 : 0; |
| 20 | s->h263_aic = (avctx->flags & 0x01000000) ? 1 : 0; |
| 21 | s->h263_aic = s->obmc || s->umvplus; |
| 22 | } |