Commit b0094722 authored by Michael Niedermayer's avatar Michael Niedermayer

remove useless debuging av_log()

Originally committed as revision 8666 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent dc338d17
...@@ -43,7 +43,6 @@ static int bethsoftvid_decode_init(AVCodecContext *avctx) ...@@ -43,7 +43,6 @@ static int bethsoftvid_decode_init(AVCodecContext *avctx)
vid->frame.buffer_hints = FF_BUFFER_HINTS_VALID | vid->frame.buffer_hints = FF_BUFFER_HINTS_VALID |
FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE; FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
avctx->pix_fmt = PIX_FMT_PAL8; // palette in vid->frame.data[1] avctx->pix_fmt = PIX_FMT_PAL8; // palette in vid->frame.data[1]
av_log(avctx, AV_LOG_DEBUG, "[bethsoftvid video decoder] init\n");
return 0; return 0;
} }
...@@ -70,8 +69,6 @@ static int bethsoftvid_decode_frame(AVCodecContext *avctx, ...@@ -70,8 +69,6 @@ static int bethsoftvid_decode_frame(AVCodecContext *avctx,
uint8_t rle_num_bytes; uint8_t rle_num_bytes;
int yoffset; int yoffset;
av_log(avctx, AV_LOG_DEBUG, "[bethsoftvid video decoder] decoding frame\n");
// reget buffer will copy old data, good for simple difference frames // reget buffer will copy old data, good for simple difference frames
if (avctx->reget_buffer(avctx, &vid->frame)) { if (avctx->reget_buffer(avctx, &vid->frame)) {
av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n"); av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n");
...@@ -127,7 +124,6 @@ static int bethsoftvid_decode_frame(AVCodecContext *avctx, ...@@ -127,7 +124,6 @@ static int bethsoftvid_decode_frame(AVCodecContext *avctx,
static int bethsoftvid_decode_end(AVCodecContext *avctx) static int bethsoftvid_decode_end(AVCodecContext *avctx)
{ {
BethsoftvidContext * vid = avctx->priv_data; BethsoftvidContext * vid = avctx->priv_data;
av_log(avctx, AV_LOG_DEBUG, "[bethsoftvid video decoder] closing\n");
if(vid->frame.data[0]) if(vid->frame.data[0])
avctx->release_buffer(avctx, &vid->frame); avctx->release_buffer(avctx, &vid->frame);
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment