OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b075e52
)
Fix problem with multithreaded decoding, introduced by r11214.
author
Reinhard Nissl
<rnissl@gmx.de>
Wed, 19 Dec 2007 23:03:52 +0000
(23:03 +0000)
committer
Carl Eugen Hoyos
<cehoyos@rainbow.studorg.tuwien.ac.at>
Wed, 19 Dec 2007 23:03:52 +0000
(23:03 +0000)
Patch by Reinhard Nissl: rnissl gmx de
Originally committed as revision 11275 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
263a66d
..
66efce0
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-3849,7
+3849,7
@@
static int decode_slice_header(H264Context *h, H264Context *h0){
h->slice_type= slice_type;
s->pict_type= h->slice_type; // to make a few old func happy, it's wrong though
- if (s->pict_type == B_TYPE && s->last_picture_ptr == NULL) {
+ if (s->pict_type == B_TYPE && s
0
->last_picture_ptr == NULL) {
av_log(h->s.avctx, AV_LOG_ERROR,
"B picture before any references, skipping\n");
return -1;