[FFmpeg-devel,3/5] avcodec/cbs_h264: silence errors about end_of_seq nalus

Submitted by Aman Gupta on Oct. 12, 2018, 4:02 a.m.

Details

Message ID 20181012040204.21579-3-ffmpeg@tmm1.net
State Accepted
Commit 64c50c0e978cd556dc2da238dfe0bb367e7c1ab9
Headers show

Commit Message

Aman Gupta Oct. 12, 2018, 4:02 a.m.
From: Aman Gupta <aman@tmm1.net>

[ffmpeg] AVBSFContext: Decomposition unimplemented for unit 4 (type 10).

Signed-off-by: Aman Gupta <aman@tmm1.net>
---
 libavcodec/cbs_h2645.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 13e4c1561c..2c7faf36e7 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -872,6 +872,9 @@  static int cbs_h264_read_nal_unit(CodedBitstreamContext *ctx,
         }
         break;
 
+    case H264_NAL_END_SEQUENCE:
+        return 0;
+
     default:
         return AVERROR(ENOSYS);
     }