Mercurial > libavcodec.hg
comparison mmvideo.c @ 11269:fc001a3aa390 libavcodec
it is not necessary to display the decoder name, as av_log() automatically prints the context
author | pross |
---|---|
date | Wed, 24 Feb 2010 11:51:42 +0000 |
parents | dff431441c9c |
children | 8a4984c5cacc |
comparison
equal
deleted
inserted
replaced
11268:e817a3c2ec2e | 11269:fc001a3aa390 |
---|---|
58 | 58 |
59 avctx->pix_fmt = PIX_FMT_PAL8; | 59 avctx->pix_fmt = PIX_FMT_PAL8; |
60 | 60 |
61 s->frame.reference = 1; | 61 s->frame.reference = 1; |
62 if (avctx->get_buffer(avctx, &s->frame)) { | 62 if (avctx->get_buffer(avctx, &s->frame)) { |
63 av_log(s->avctx, AV_LOG_ERROR, "mmvideo: get_buffer() failed\n"); | 63 av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n"); |
64 return -1; | 64 return -1; |
65 } | 65 } |
66 | 66 |
67 return 0; | 67 return 0; |
68 } | 68 } |