summaryrefslogtreecommitdiff
path: root/libavcodec/pthread.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-19 02:11:50 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-19 02:34:18 +0100
commit7c29313b387392fa305365e855fa408cd28c276e (patch)
tree328f30ad4a4e6b606bbbffc1f15f22d2044affb3 /libavcodec/pthread.c
parentf371396dfb95c116a05e9b9f690fa916bb2d815e (diff)
parent2a216ca2ef29282cac9003a716b469b8c80c0a15 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: APIchanges: fill in revision for AVFrame.age deprecation avcodec: deprecate AVFrame.age 4xm: remove unneeded check for remaining unused data. lavf: force threads to 1 in avformat_find_stream_info() swscale: fix overflows in vertical scaling at top/bottom edges. lavf: add OpenMG audio muxer. omadec: split data that will be used in the muxer to a separate file. lavf: rename oma.c -> omadec.c tmv decoder: set correct pix_fmt Conflicts: Changelog doc/APIchanges libavcodec/mpegvideo.c libavcodec/version.h libavformat/oma.c libavformat/version.h libswscale/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pthread.c')
-rw-r--r--libavcodec/pthread.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index 2be54d8d0a..bca01edef5 100644
--- a/libavcodec/pthread.c
+++ b/libavcodec/pthread.c
@@ -868,13 +868,6 @@ int ff_thread_get_buffer(AVCodecContext *avctx, AVFrame *f)
pthread_mutex_unlock(&p->parent->buffer_mutex);
- /*
- * Buffer age is difficult to keep track of between
- * multiple threads, and the optimizations it allows
- * are not worth the effort. It is disabled for now.
- */
- f->age = INT_MAX;
-
return err;
}