summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-19 15:49:15 +0100
committerClément Bœsch <u@pkh.me>2017-03-19 15:49:15 +0100
commit4ded6f9b312731a7cbac7da2c097eeeab8c1954e (patch)
tree6b4b1cb6be189309ded8d2f643c877345cc98716 /libavcodec
parent8a403b00d1bd8fdbe6fa545cc91b8a1a315e762b (diff)
parentdab2034b8679aaacd8aef832cdeb71d0ee8a3358 (diff)
downloadffmpeg-streaming-4ded6f9b312731a7cbac7da2c097eeeab8c1954e.zip
ffmpeg-streaming-4ded6f9b312731a7cbac7da2c097eeeab8c1954e.tar.gz
Merge commit 'dab2034b8679aaacd8aef832cdeb71d0ee8a3358'
* commit 'dab2034b8679aaacd8aef832cdeb71d0ee8a3358': roqvideoenc: Drop broken disabled cruft Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/roqvideoenc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index 038a63d..ac05123 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -736,21 +736,6 @@ static void reconstruct_and_encode_image(RoqContext *enc, RoqTempdata *tempData,
/* Flush the remainder of the argument/type spool */
while (spool.typeSpoolLength)
write_typecode(&spool, 0x0);
-
-#if 0
- uint8_t *fdata[3] = {enc->frame_to_enc->data[0],
- enc->frame_to_enc->data[1],
- enc->frame_to_enc->data[2]};
- uint8_t *cdata[3] = {enc->current_frame->data[0],
- enc->current_frame->data[1],
- enc->current_frame->data[2]};
- av_log(enc->avctx, AV_LOG_ERROR, "Expected distortion: %i Actual: %i\n",
- dist,
- block_sse(fdata, cdata, 0, 0, 0, 0,
- enc->frame_to_enc->linesize,
- enc->current_frame->linesize,
- enc->width)); //WARNING: Square dimensions implied...
-#endif
}
OpenPOWER on IntegriCloud