diff options
Diffstat (limited to 'rotord/libavexporter.h')
| -rw-r--r-- | rotord/libavexporter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rotord/libavexporter.h b/rotord/libavexporter.h index 27bbbe5..c9984cb 100644 --- a/rotord/libavexporter.h +++ b/rotord/libavexporter.h @@ -229,7 +229,7 @@ namespace libav { { avcodec_close(st->codec); - + } //************************************************************// @@ -270,7 +270,7 @@ namespace libav { // * picture is needed too. It is then converted to the required // * output format. // if (c->pix_fmt != AV_PIX_FMT_YUV420P) { - ret = avpicture_alloc(&src_picture, AV_PIX_FMT_YUV420P, c->width, c->height); + ret = avpicture_alloc(&src_picture, AV_PIX_FMT_RGB24, c->width, c->height); if (ret < 0) { //fprintf(stderr, "Could not allocate temporary picture: %s\n", // av_err2str(ret)); @@ -396,7 +396,7 @@ namespace libav { av_free(src_picture.data[0]); av_free(dst_picture.data[0]); av_free(frame); - av_free(outPixels); + //av_free(outPixels); SIGSEV here } class exporter { |
