diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/decoding_encoding.c | 2 | ||||
-rw-r--r-- | doc/examples/muxing.c | 2 | ||||
-rw-r--r-- | doc/examples/transcoding.c | 2 | ||||
-rw-r--r-- | doc/multithreading.txt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c index 5f26177bc5..e1f4ae36ae 100644 --- a/doc/examples/decoding_encoding.c +++ b/doc/examples/decoding_encoding.c @@ -561,7 +561,7 @@ static void video_decode_example(const char *outfilename, const char *filename) exit(1); } - if(codec->capabilities&CODEC_CAP_TRUNCATED) + if (codec->capabilities & AV_CODEC_CAP_TRUNCATED) c->flags |= AV_CODEC_FLAG_TRUNCATED; // we do not send complete frames /* For some codecs, such as msmpeg4 and mpeg4, width and height diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index 7aece76c01..b5bd54a105 100644 --- a/doc/examples/muxing.c +++ b/doc/examples/muxing.c @@ -230,7 +230,7 @@ static void open_audio(AVFormatContext *oc, AVCodec *codec, OutputStream *ost, A /* increment frequency by 110 Hz per second */ ost->tincr2 = 2 * M_PI * 110.0 / c->sample_rate / c->sample_rate; - if (c->codec->capabilities & CODEC_CAP_VARIABLE_FRAME_SIZE) + if (c->codec->capabilities & AV_CODEC_CAP_VARIABLE_FRAME_SIZE) nb_samples = 10000; else nb_samples = c->frame_size; diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c index d7a9579a34..59b113ef9c 100644 --- a/doc/examples/transcoding.c +++ b/doc/examples/transcoding.c @@ -449,7 +449,7 @@ static int flush_encoder(unsigned int stream_index) int got_frame; if (!(ofmt_ctx->streams[stream_index]->codec->codec->capabilities & - CODEC_CAP_DELAY)) + AV_CODEC_CAP_DELAY)) return 0; while (1) { diff --git a/doc/multithreading.txt b/doc/multithreading.txt index 2b992fcbc5..83849deacc 100644 --- a/doc/multithreading.txt +++ b/doc/multithreading.txt @@ -54,7 +54,7 @@ thread. If the codec allocates writable tables in its init(), add an init_thread_copy() which re-allocates them for other threads. -Add CODEC_CAP_FRAME_THREADS to the codec capabilities. There will be very little +Add AV_CODEC_CAP_FRAME_THREADS to the codec capabilities. There will be very little speed gain at this point but it should work. If there are inter-frame dependencies, so the codec calls |