This does not attempt to split the data prior to a major sync
so it all is in one blob, but it is not dropped anymore.

Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
---
 libavcodec/mlp_parser.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c
index 9fea7db955..db8ac6d156 100644
--- a/libavcodec/mlp_parser.c
+++ b/libavcodec/mlp_parser.c
@@ -96,6 +96,9 @@ static int mlp_parse(AVCodecParserContext *s,
                 return ret;
             }
 
+            *poutbuf      = buf;
+            *poutbuf_size = buf_size;
+
             return i - 7;
         }
 
-- 
2.17.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to