frame-mt: return consumed packet size in ff_thread_decode_frame
authorJanne Grunau <janne-libav@jannau.net>
Thu, 24 Nov 2011 00:50:05 +0000 (01:50 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Fri, 25 Nov 2011 07:25:12 +0000 (08:25 +0100)
commit117e2a30f254820e0fd4e4d5d9fbab757f17590f
tree1b57b621ffd909413c66064c625d9aa08ebbac28
parentd14d4d982cca55b34092fb71204b9a3f3749acd7
frame-mt: return consumed packet size in ff_thread_decode_frame

This is required to fulfill avcodec_decode_video2() promise to return
the number of consumed bytes on success.
libavcodec/pthread.c
libavcodec/thread.h