|
@@ -304,9 +304,8 @@ int ff_h264_update_thread_context(AVCodecContext *dst, |
|
|
if (dst == src) |
|
|
if (dst == src) |
|
|
return 0; |
|
|
return 0; |
|
|
|
|
|
|
|
|
// We can't fail if SPS isn't set at it breaks current skip_frame code |
|
|
|
|
|
//if (!h1->ps.sps) |
|
|
|
|
|
// return AVERROR_INVALIDDATA; |
|
|
|
|
|
|
|
|
if (inited && !h1->ps.sps) |
|
|
|
|
|
return AVERROR_INVALIDDATA; |
|
|
|
|
|
|
|
|
if (inited && |
|
|
if (inited && |
|
|
(h->width != h1->width || |
|
|
(h->width != h1->width || |
|
|