Revision da45d5b9 libavcodec/avcodec.h

View differences:

libavcodec/avcodec.h
3215 3215
 * @param[out] samples the output buffer
3216 3216
 * @param[in,out] frame_size_ptr the output buffer size in bytes
3217 3217
 * @param[in] avpkt The input AVPacket containing the input buffer.
3218
 *            You can create such packet with av_init_packet() and by then setting
3219
 *            data and size, some decoders might in addition need other fields.
3220
 *            All decoders are designed to use the least fields possible though.
3218 3221
 * @return On error a negative value is returned, otherwise the number of bytes
3219 3222
 * used or zero if no frame could be decompressed.
3220 3223
 */
......
3268 3271
 * @param avctx the codec context
3269 3272
 * @param[out] picture The AVFrame in which the decoded video frame will be stored.
3270 3273
 * @param[in] avpkt The input AVpacket containing the input buffer.
3274
 *            You can create such packet with av_init_packet() and by then setting
3275
 *            data and size, some decoders might in addition need other fields like
3276
 *            flags&PKT_FLAG_KEY. All decoders are designed to use the least
3277
 *            fields possible.
3271 3278
 * @param[in,out] got_picture_ptr Zero if no frame could be decompressed, otherwise, it is nonzero.
3272 3279
 * @return On error a negative value is returned, otherwise the number of bytes
3273 3280
 * used or zero if no frame could be decompressed.

Also available in: Unified diff