summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-02-24 18:39:42 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-02-24 18:39:42 +0000
commitf986c8e2e5064e69f932c6793207815d4c47c0ee (patch)
tree4c5208e0e010be15f98142a31a44bcae569cec96 /libavcodec/h263dec.c
parent09a9b45e4fa77a533391184ace5cadb30c6b83c7 (diff)
Another AVhwaccel hunk from Gwenole Beauchesne.
Originally committed as revision 17565 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 3b1cf8c61c..7fb9cb00f5 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -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);