]> git.sesse.net Git - ffmpeg/commitdiff
lavc: Remove CR/LF from avpriv_request_sample() calls.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 3 Dec 2016 14:40:26 +0000 (15:40 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 3 Dec 2016 14:40:26 +0000 (15:40 +0100)
libavcodec/aacdec_template.c
libavcodec/dnxhddec.c
libavcodec/m101.c
libavcodec/svq3.c

index 883ed527f7a756c7d66e44e14b9d9a8f4de28e30..8cfa34b255695e6f1f6ff75251ac62397b81e259 100644 (file)
@@ -452,7 +452,7 @@ static int output_configure(AACContext *ac,
         int id =           layout_map[i][1];
         id_map[type][id] = type_counts[type]++;
         if (id_map[type][id] >= MAX_ELEM_ID) {
-            avpriv_request_sample(ac->avctx, "Remapped id too large\n");
+            avpriv_request_sample(ac->avctx, "Too large remapped id");
             return AVERROR_PATCHWELCOME;
         }
     }
index 4d1b006bb50b5737dbb40e0d3ed82f3280c4a6c6..70ce264c9683ff3312997a6c64b9c0956b398a4e 100644 (file)
@@ -234,7 +234,7 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
     ctx->is_444 = (buf[0x2C] >> 6) & 1;
     if (ctx->is_444) {
         if (bitdepth == 8) {
-            avpriv_request_sample(ctx->avctx, "4:4:4 8 bits\n");
+            avpriv_request_sample(ctx->avctx, "4:4:4 8 bits");
             return AVERROR_INVALIDDATA;
         } else if (bitdepth == 10) {
             ctx->decode_dct_block = dnxhd_decode_dct_block_10_444;
index 939d337bfff2deb4d65fd24095e13aaa7cea87b4..d2549668fd6b9a29dfffde0592549434d07e9f97 100644 (file)
@@ -27,7 +27,7 @@
 static av_cold int m101_decode_init(AVCodecContext *avctx)
 {
     if (avctx->extradata_size < 6*4) {
-        avpriv_request_sample(avctx, "Missing or too small extradata (size %d)\n", avctx->extradata_size);
+        avpriv_request_sample(avctx, "Missing or too small extradata (size %d)", avctx->extradata_size);
         return AVERROR_INVALIDDATA;
     }
 
@@ -36,7 +36,7 @@ static av_cold int m101_decode_init(AVCodecContext *avctx)
     else if (avctx->extradata[2*4] == 8) {
         avctx->pix_fmt = AV_PIX_FMT_YUYV422;
     } else {
-        avpriv_request_sample(avctx, "BPS %d\n", avctx->extradata[2*4]);
+        avpriv_request_sample(avctx, "BPS %d", avctx->extradata[2*4]);
         return AVERROR_INVALIDDATA;
     }
 
index 5aedc1e657761bc94ecae803dc652bd1e2251352..e0747d58844dbf08d918d53d6fa338645686faea 100644 (file)
@@ -1556,7 +1556,7 @@ static int svq3_decode_frame(AVCodecContext *avctx, void *data,
                         return -1;
                 }
                 if (s->slice_type != s->pict_type) {
-                    avpriv_request_sample(avctx, "non constant slice type\n");
+                    avpriv_request_sample(avctx, "non constant slice type");
                 }
                 /* TODO: support s->mb_skip_run */
             }