comparison mpegvideo.c @ 1189:818e75da4edd libavcodec

10l
author michaelni
date Mon, 14 Apr 2003 20:02:12 +0000
parents c5f239397e90
children 327c5a36dfe7
comparison
equal deleted inserted replaced
1188:c5f239397e90 1189:818e75da4edd
599 if(s->data_partitioning && s->codec_id != CODEC_ID_MPEG4){ 599 if(s->data_partitioning && s->codec_id != CODEC_ID_MPEG4){
600 fprintf(stderr, "data partitioning not supporetd by codec\n"); 600 fprintf(stderr, "data partitioning not supporetd by codec\n");
601 return -1; 601 return -1;
602 } 602 }
603 603
604 if(s->max_b_frames && (s->codec_id != CODEC_ID_MPEG4 || s->codec_id != CODEC_ID_MPEG1VIDEO)){ 604 if(s->max_b_frames && s->codec_id != CODEC_ID_MPEG4 && s->codec_id != CODEC_ID_MPEG1VIDEO){
605 fprintf(stderr, "b frames not supporetd by codec\n"); 605 fprintf(stderr, "b frames not supporetd by codec\n");
606 return -1; 606 return -1;
607 } 607 }
608 608
609 if(s->mpeg_quant && s->codec_id != CODEC_ID_MPEG4){ //FIXME mpeg2 uses that too 609 if(s->mpeg_quant && s->codec_id != CODEC_ID_MPEG4){ //FIXME mpeg2 uses that too