Process packed bitstream also for VDPAU.
Originally committed as revision 22131 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
49b609820d
commit
8ef4f92b0d
@ -663,6 +663,7 @@ retry:
|
|||||||
}
|
}
|
||||||
|
|
||||||
assert(s->bitstream_buffer_size==0);
|
assert(s->bitstream_buffer_size==0);
|
||||||
|
frame_end:
|
||||||
/* divx 5.01+ bistream reorder stuff */
|
/* divx 5.01+ bistream reorder stuff */
|
||||||
if(s->codec_id==CODEC_ID_MPEG4 && s->divx_packed){
|
if(s->codec_id==CODEC_ID_MPEG4 && s->divx_packed){
|
||||||
int current_pos= get_bits_count(&s->gb)>>3;
|
int current_pos= get_bits_count(&s->gb)>>3;
|
||||||
@ -697,7 +698,6 @@ retry:
|
|||||||
intrax8_decoded:
|
intrax8_decoded:
|
||||||
ff_er_frame_end(s);
|
ff_er_frame_end(s);
|
||||||
|
|
||||||
frame_end:
|
|
||||||
if (avctx->hwaccel) {
|
if (avctx->hwaccel) {
|
||||||
if (avctx->hwaccel->end_frame(avctx) < 0)
|
if (avctx->hwaccel->end_frame(avctx) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user