1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-20 07:48:15 +02:00
FFmpeg/libavcodec
Ivan 76573c5239 avcodec/h264: Fix for H.264 configuration parsing
Sometimes video fails to decode if H.264 configuration changes mid stream.
The reason is that configuration parser assumes that nal_ref_idc is equal to 11b
while actually some codecs but 01b there. The H.264 spec is somewhat
vague about this but it looks like it allows any non-zero nal_ref_idc for sps/pps.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 3a727606c474d3d0b9efa3c900294a84bdb5e331)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-17 02:40:53 +02:00
..
2015-12-15 22:45:15 -05:00
2016-01-20 16:56:53 +00:00
2016-01-20 16:56:53 +00:00
2015-12-19 09:32:53 -08:00
2015-12-19 09:32:53 -08:00
2015-11-30 18:29:57 -05:00
2015-11-22 16:16:16 -05:00
2015-10-29 21:26:43 +01:00
2015-11-21 08:51:49 -05:00
2016-01-29 19:58:34 -03:00
2016-01-10 16:28:14 +01:00
2016-01-10 16:28:14 +01:00
2016-01-11 21:51:11 +01:00
2015-11-30 10:58:46 -05:00
2016-01-30 17:44:13 +00:00
2016-01-30 17:44:13 +00:00
2016-02-02 18:06:13 -08:00
2016-01-30 17:44:13 +00:00
2016-01-31 17:09:38 +01:00
2016-01-31 17:09:38 +01:00
2016-01-31 17:09:38 +01:00
2015-10-13 16:03:04 +02:00
2015-12-26 20:29:22 -08:00
2016-02-07 09:26:15 -08:00
2015-10-26 10:08:01 +01:00
2016-01-28 10:31:41 +01:00
2016-01-28 10:31:41 +01:00
2016-01-11 21:51:11 +01:00
2016-01-30 13:38:16 +01:00
2015-12-07 16:10:51 +01:00
2015-10-09 22:09:08 +02:00
2016-01-11 21:51:11 +01:00
2016-01-18 19:56:37 +01:00
2016-01-31 15:44:11 -08:00
2015-10-25 22:48:04 +01:00
2015-12-05 21:11:52 +01:00
2015-12-05 21:11:52 +01:00
2016-03-26 21:52:47 +01:00
2016-03-26 21:52:47 +01:00
2016-02-01 01:36:44 +01:00
2015-11-20 08:20:13 -05:00
2015-10-11 17:29:50 -03:00
2016-01-28 17:24:53 +01:00
2016-01-11 21:51:11 +01:00
2016-01-10 12:49:35 +01:00
2016-01-12 09:23:38 +01:00
2016-01-28 00:08:40 +00:00
2016-02-09 19:19:43 +01:00
2015-10-26 23:23:59 -07:00
2015-12-21 11:14:02 +01:00
2016-01-27 00:08:23 +01:00
2016-02-14 16:14:08 +01:00
2016-01-30 13:31:44 +01:00
2015-10-09 22:09:08 +02:00
2015-12-22 12:54:23 +01:00
2015-12-07 09:25:02 +01:00
2016-01-11 21:51:11 +01:00
2016-01-20 16:41:19 -03:00
2016-01-11 21:51:11 +01:00
2016-01-28 19:49:48 -08:00