Commit 022b3968 authored by michaelni's avatar michaelni

10l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1774 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 76a241bd
......@@ -601,7 +601,7 @@ int MPV_encode_init(AVCodecContext *avctx)
return -1;
}
if(s->max_b_frames && (s->codec_id != CODEC_ID_MPEG4 || s->codec_id != CODEC_ID_MPEG1VIDEO)){
if(s->max_b_frames && s->codec_id != CODEC_ID_MPEG4 && s->codec_id != CODEC_ID_MPEG1VIDEO){
fprintf(stderr, "b frames not supporetd by codec\n");
return -1;
}
......
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