diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-03-04 15:49:26 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-03-05 18:47:05 +0100 |
commit | 27c7ca9c12bb42d5c44d46f24cd970469d0ef55a (patch) | |
tree | 919bcdcd0a17451b2d79edc121a4c05f57ffe86e /tests/ref/fate/vc1_sa00050 | |
parent | dcee811505b9f95edad73526d94cabc99331b659 (diff) | |
download | ffmpeg-27c7ca9c12bb42d5c44d46f24cd970469d0ef55a.tar.gz |
lavf: deobfuscate read_frame_internal().
Split off packet parsing into a separate function. Parse full packets at
once and store them in a queue, eliminating the need for tracking
parsing state in AVStream.
The horrible unreadable loop in read_frame_internal() now isn't weirdly
ordered and doesn't contain evil gotos, so it should be much easier to
understand.
compute_pkt_fields() now invents slightly different timestamps for two
raw vc1 tests, due to has_b_frames being set a bit later. They shouldn't
be more wrong (or right) than previous ones.
Diffstat (limited to 'tests/ref/fate/vc1_sa00050')
-rw-r--r-- | tests/ref/fate/vc1_sa00050 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/fate/vc1_sa00050 b/tests/ref/fate/vc1_sa00050 index 2287821b35..89a3840b28 100644 --- a/tests/ref/fate/vc1_sa00050 +++ b/tests/ref/fate/vc1_sa00050 @@ -1,7 +1,7 @@ #tb 0: 1/25 0, 0, 0, 1, 115200, 0xb8830eef +0, 1, 1, 1, 115200, 0xb8830eef 0, 2, 2, 1, 115200, 0xb8830eef -0, 3, 3, 1, 115200, 0xb8830eef 0, 4, 4, 1, 115200, 0x952ff5e1 0, 5, 5, 1, 115200, 0xa4362b14 0, 6, 6, 1, 115200, 0x32bacbe7 |