Browse code

Revert "avcodec/cbs_h264: silence errors about end_of_seq nalus"

This reverts commit aec3daa8b4b31235b61922642df06f0f26fef082.

This is an incomplete fix, and did not quality for a backport.

Aman Gupta authored on 2018/10/19 01:41:13
Showing 1 changed files
... ...
@@ -828,9 +828,6 @@ static int cbs_h264_read_nal_unit(CodedBitstreamContext *ctx,
828 828
         }
829 829
         break;
830 830
 
831
-    case H264_NAL_END_SEQUENCE:
832
-        return 0;
833
-
834 831
     default:
835 832
         return AVERROR(ENOSYS);
836 833
     }