diff options
Diffstat (limited to 'libavcodec/hqx.c')
-rw-r--r-- | libavcodec/hqx.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libavcodec/hqx.c b/libavcodec/hqx.c index 7411d3f..138d960 100644 --- a/libavcodec/hqx.c +++ b/libavcodec/hqx.c @@ -1,20 +1,20 @@ /* * Canopus HQX decoder * - * This file is part of Libav. + * This file is part of FFmpeg. * - * Libav is free software; you can redistribute it and/or + * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * Libav is distributed in the hope that it will be useful, + * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with Libav; if not, write to the Free Software + * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ @@ -458,7 +458,7 @@ static int hqx_decode_frame(AVCodecContext *avctx, void *data, } ret = av_image_check_size(ctx->width, ctx->height, 0, avctx); if (ret < 0) { - av_log(avctx, AV_LOG_ERROR, "Invalid stored dimenstions %dx%d.\n", + av_log(avctx, AV_LOG_ERROR, "Invalid stored dimensions %dx%d.\n", ctx->width, ctx->height); return AVERROR_INVALIDDATA; } @@ -492,10 +492,8 @@ static int hqx_decode_frame(AVCodecContext *avctx, void *data, } ret = ff_get_buffer(avctx, ctx->pic, 0); - if (ret < 0) { - av_log(avctx, AV_LOG_ERROR, "Could not allocate buffer.\n"); + if (ret < 0) return ret; - } avctx->execute2(avctx, decode_slice_thread, NULL, NULL, 16); |