@param avctx codec context
@param outdata codec type dependent output struct
@paramout got_frame_ptr decoder sets to 0 or 1 to indicate that a
non-empty frame or subtitle was returned in
outdata.
@paramin avpkt AVPacket containing the data to be decoded
@return amount of bytes read from the packet on success, negative error
code on failure
Decode picture or subtitle data.
@param avctx codec context @param outdata codec type dependent output struct @paramout got_frame_ptr decoder sets to 0 or 1 to indicate that a non-empty frame or subtitle was returned in outdata. @paramin avpkt AVPacket containing the data to be decoded @return amount of bytes read from the packet on success, negative error code on failure