Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/pr32372.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
typedef struct AVCodecContext { int flags; void *priv_data; char codec_name[32]; } AVCodecContext; typedef struct ScanTable { int obmc; int umvplus; int h263_aic; } MpegEncContext; MPV_encode_init (AVCodecContext *avctx) { MpegEncContext *s = avctx->priv_data; s->umvplus = (avctx->flags & 0x02000000) ? 1 : 0; s->h263_aic = (avctx->flags & 0x01000000) ? 1 : 0; s->h263_aic = s->obmc || s->umvplus; }