Browse Source

Another AVhwaccel hunk from Gwenole Beauchesne.

Originally committed as revision 17565 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 16 years ago
parent
commit
f986c8e2e5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavcodec/h263dec.c

+ 5
- 0
libavcodec/h263dec.c View File

@@ -687,6 +687,11 @@ retry:
intrax8_decoded:
ff_er_frame_end(s);

if (avctx->hwaccel) {
if (avctx->hwaccel->end_frame(avctx) < 0)
return -1;
}

MPV_frame_end(s);

assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type);


Loading…
Cancel
Save