mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
intrax8 decoder patch by "someone"
Originally committed as revision 10971 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -623,9 +623,10 @@ retry:
|
||||
|
||||
//the second part of the wmv2 header contains the MB skip bits which are stored in current_picture->mb_type
|
||||
//which is not available before MPV_frame_start()
|
||||
if (s->msmpeg4_version==5){
|
||||
if(!ENABLE_WMV2_DECODER || ff_wmv2_decode_secondary_picture_header(s) < 0)
|
||||
return -1;
|
||||
if (ENABLE_WMV2_DECODER && s->msmpeg4_version==5){
|
||||
ret = ff_wmv2_decode_secondary_picture_header(s);
|
||||
if(ret<0) return ret;
|
||||
if(ret==1) goto intrax8_decoded;
|
||||
}
|
||||
|
||||
/* decode each macroblock */
|
||||
@ -682,6 +683,7 @@ retry:
|
||||
}
|
||||
}
|
||||
|
||||
intrax8_decoded:
|
||||
ff_er_frame_end(s);
|
||||
|
||||
MPV_frame_end(s);
|
||||
|
Reference in New Issue
Block a user