Commit 2c9687d6 authored by bcoudurier's avatar bcoudurier

add parenthesis, fix warning: mpegenc.c:303: warning: suggest parentheses around && within ||

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11682 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 972373f5
...@@ -299,9 +299,9 @@ static int mpeg_mux_init(AVFormatContext *ctx) ...@@ -299,9 +299,9 @@ static int mpeg_mux_init(AVFormatContext *ctx)
s->packet_number = 0; s->packet_number = 0;
s->is_vcd = (ENABLE_MPEG1VCD_MUXER && ctx->oformat == &mpeg1vcd_muxer); s->is_vcd = (ENABLE_MPEG1VCD_MUXER && ctx->oformat == &mpeg1vcd_muxer);
s->is_svcd = (ENABLE_MPEG2SVCD_MUXER && ctx->oformat == &mpeg2svcd_muxer); s->is_svcd = (ENABLE_MPEG2SVCD_MUXER && ctx->oformat == &mpeg2svcd_muxer);
s->is_mpeg2 = (ENABLE_MPEG2VOB_MUXER && ctx->oformat == &mpeg2vob_muxer || s->is_mpeg2 = ((ENABLE_MPEG2VOB_MUXER && ctx->oformat == &mpeg2vob_muxer) ||
ENABLE_MPEG2DVD_MUXER && ctx->oformat == &mpeg2dvd_muxer || (ENABLE_MPEG2DVD_MUXER && ctx->oformat == &mpeg2dvd_muxer) ||
ENABLE_MPEG2SVCD_MUXER && ctx->oformat == &mpeg2svcd_muxer); (ENABLE_MPEG2SVCD_MUXER && ctx->oformat == &mpeg2svcd_muxer));
s->is_dvd = (ENABLE_MPEG2DVD_MUXER && ctx->oformat == &mpeg2dvd_muxer); s->is_dvd = (ENABLE_MPEG2DVD_MUXER && ctx->oformat == &mpeg2dvd_muxer);
if(ctx->packet_size) if(ctx->packet_size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment