You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
remove useless debuging av_log()
Originally committed as revision 8666 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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,
|
|||||||
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,
|
|||||||
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;
|
||||||
|
Reference in New Issue
Block a user