]> git.sesse.net Git - ffmpeg/commitdiff
Merge remote-tracking branch 'ffmpeg-mt/master'
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Mar 2011 00:58:38 +0000 (02:58 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Mar 2011 00:58:38 +0000 (02:58 +0200)
* ffmpeg-mt/master:
  Update todo. More items appeared...
  Fix mdec
Duplicate:  id3v1: change filesize to int64_t.
Duplicate:  id3v1: Seek back to old position after reading.

Conflicts:
    libavcodec/mpegvideo.c
    libavcodec/snow.c
    libavformat/id3v1.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mdec.c
libavformat/id3v1.c
mt-work/todo.txt

index b28ac26913978c1e0a8159261123046c74c6ffd3..ba06641ab060596a32da7a341cd6ee48f2a36e15 100644 (file)
@@ -246,7 +246,7 @@ static av_cold int decode_init_thread_copy(AVCodecContext *avctx){
     avctx->coded_frame= p;
     a->avctx= avctx;
 
-    p->qscale_table= av_mallocz( p->qstride * a->mb_height);
+    p->qscale_table= av_mallocz(a->mb_width);
 
     return 0;
 }
index 4f9b5840ecd426dcd366db537eb699d16e2e9844..365c3e0fab1b7cfa3df85ad45c5a8e3dc2d3db8a 100644 (file)
@@ -227,7 +227,7 @@ void ff_id3v1_read(AVFormatContext *s)
 {
     int ret;
     uint8_t buf[ID3v1_TAG_SIZE];
-    int64_t filesize, position = url_ftell(s->pb);
+    int64_t filesize, position = avio_tell(s->pb);
 
     if (!url_is_streamed(s->pb)) {
         /* XXX: change that */
index a27f181759d4073ac903241cb6357acfe9b7b8a7..013853e3ae7e1d1f43a3eb837cd9fef92ea48eb1 100644 (file)
@@ -2,7 +2,7 @@ Todo
 
 -- For other people
 - Multithread vp8 or vc1.
-- Multithread an intra codec like mjpeg.
+- Multithread an intra codec like mjpeg (trivial).
 - Fix mpeg1 (see below).
 - Try the first three items under Optimization.
 - Fix h264 (see below).
@@ -14,6 +14,8 @@ General critical:
 - Error resilience has to run before ff_report_frame_progress()
 is called. Otherwise there will be race conditions. (This might already
 work.) In general testing error paths should be done more.
+- 'make fate THREADS=2' doesn't pass. Most failures are due to
+bugs in vsync in ffmpeg.c, which are currently obscuring real failures.
 
 h264:
 - Files split at the wrong NAL unit don't (and can't)
@@ -39,7 +41,7 @@ with threads on. Currently disabled for this reason.
 -- Prove correct
 
 - decode_update_progress() in h264.c
-h264_race_checking branch has some work on h264,
+race_checking branch has some work on h264,
 but not that function. It might be worth putting
 the branch under #ifdef DEBUG in mainline, but
 the code would have to be cleaner.
@@ -48,9 +50,11 @@ the code would have to be cleaner.
 
 -- Optimization
 
+- Merge h264 decode_update_progress() with loop_filter().
+Add CODEC_CAP_DRAW_HORIZ_BAND as a side effect.
 - EMU_EDGE is always set for h264 PAFF+MT
 because draw_edges() writes into the other field's
-thread's pixels.
+thread's pixels. Needs an option to skip T/B fields.
 - Check update_thread_context() functions and make
 sure they only copy what they need to.
 - Try some more optimization of the "ref < 48; ref++"