]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264_picture.c
avcodec/dvbsubdec: Do not return a value from a function returning void
[ffmpeg] / libavcodec / h264_picture.c
index 76286ae8f3a91df1560734a163643e871b46f3ea..1880a58e50514c528405ab359728c0fa23334e25 100644 (file)
@@ -184,6 +184,7 @@ int ff_h264_field_end(H264Context *h, H264SliceContext *sl, int in_setup)
         ff_vdpau_h264_picture_complete(h);
 
 #if CONFIG_ERROR_RESILIENCE
+    av_assert0(sl == h->slice_ctx);
     /*
      * FIXME: Error handling code does not seem to support interlaced
      * when slices span multiple rows