mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
Add a few CONFIG_MPEG4_DECODER that should be there.
Originally committed as revision 21082 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -1481,7 +1481,7 @@ int ff_h263_resync(MpegEncContext *s){
|
||||
|
||||
if(show_bits(&s->gb, 16)==0){
|
||||
pos= get_bits_count(&s->gb);
|
||||
if(s->codec_id==CODEC_ID_MPEG4)
|
||||
if(CONFIG_MPEG4_DECODER && s->codec_id==CODEC_ID_MPEG4)
|
||||
ret= mpeg4_decode_video_packet_header(s);
|
||||
else
|
||||
ret= h263_decode_gob_header(s);
|
||||
@ -1498,7 +1498,7 @@ int ff_h263_resync(MpegEncContext *s){
|
||||
GetBitContext bak= s->gb;
|
||||
|
||||
pos= get_bits_count(&s->gb);
|
||||
if(s->codec_id==CODEC_ID_MPEG4)
|
||||
if(CONFIG_MPEG4_DECODER && s->codec_id==CODEC_ID_MPEG4)
|
||||
ret= mpeg4_decode_video_packet_header(s);
|
||||
else
|
||||
ret= h263_decode_gob_header(s);
|
||||
|
Reference in New Issue
Block a user