1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Process packed bitstream also for VDPAU.

Originally committed as revision 22131 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Carl Eugen Hoyos 2010-03-01 16:52:35 +00:00
parent 49b609820d
commit 8ef4f92b0d

View File

@ -663,6 +663,7 @@ retry:
}
assert(s->bitstream_buffer_size==0);
frame_end:
/* divx 5.01+ bistream reorder stuff */
if(s->codec_id==CODEC_ID_MPEG4 && s->divx_packed){
int current_pos= get_bits_count(&s->gb)>>3;
@ -697,7 +698,6 @@ retry:
intrax8_decoded:
ff_er_frame_end(s);
frame_end:
if (avctx->hwaccel) {
if (avctx->hwaccel->end_frame(avctx) < 0)
return -1;