History

avcodec: remove leftover references to AVCodecContext.refcounted_frames

James Almer committed 5 years ago

Commit f44d4f51 parent 5a413b31 file · +3 −7Browse files

Showing the changes to libavcodec/avcodec.h (1 of 1 file). Show all

Unified · Split

libavcodec/avcodec.h+3−7
@@ -2737,8 +2737,7 @@ int avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame); · 2736 unmodified lines
27372737 * the call will not fail with EAGAIN).
27382738 * AVERROR_EOF: the encoder has been flushed, and no new frames can
27392739 * be sent to it
2740− * AVERROR(EINVAL): codec not opened, refcounted_frames not set, it is a
2741− * decoder, or requires flush
2740+ * AVERROR(EINVAL): codec not opened, it is a decoder, or requires flush
27422741 * AVERROR(ENOMEM): failed to add packet to internal queue, or similar
27432742 * other errors: legitimate encoding errors
27442743 */
@@ -3230,11 +3229,8 @@ int avcodec_fill_audio_frame(AVFrame *frame, int nb_channels, · 485 unmodified lines
32303229 * Reset the internal codec state / flush internal buffers. Should be called
32313230 * e.g. when seeking or when switching to a different stream.
32323231 *
3233− * @note for decoders, when refcounted frames are not used
3234− * (i.e. avctx->refcounted_frames is 0), this invalidates the frames previously
3235− * returned from the decoder. When refcounted frames are used, the decoder just
3236− * releases any references it might keep internally, but the caller's reference
3237− * remains valid.
3232+ * @note for decoders, this function just releases any references the decoder
3233+ * might keep internally, but the caller's references remain valid.
32383234 *
32393235 * @note for encoders, this function will only do something if the encoder
32403236 * declares support for AV_CODEC_CAP_ENCODER_FLUSH. When called, the encoder

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t