[FFmpeg-cvslog] h264: add forgotten \n to "Invalid mix of idr and non-idr slices"
Michael Niedermayer
git at videolan.org
Tue Jan 3 13:51:55 CET 2012
ffmpeg | branch: release/0.9 | Michael Niedermayer <michaelni at gmx.at> | Sun Jan 1 16:09:23 2012 +0100| [96545777d7f95ee6a91eba77a886f3efdbd8e11d] | committer: Carl Eugen Hoyos
h264: add forgotten \n to "Invalid mix of idr and non-idr slices"
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit ecb14b8af73b92e5a1be47c119d2f528ff402ebd)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96545777d7f95ee6a91eba77a886f3efdbd8e11d
---
libavcodec/h264.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index fbf4208..8139c30 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3876,7 +3876,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
switch(hx->nal_unit_type){
case NAL_IDR_SLICE:
if (h->nal_unit_type != NAL_IDR_SLICE) {
- av_log(h->s.avctx, AV_LOG_ERROR, "Invalid mix of idr and non-idr slices");
+ av_log(h->s.avctx, AV_LOG_ERROR, "Invalid mix of idr and non-idr slices\n");
return -1;
}
idr(h); //FIXME ensure we don't loose some frames if there is reordering
More information about the ffmpeg-cvslog
mailing list