]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/escape130.c
dvbsubdec: check memory allocations and propagate errors
[ffmpeg] / libavcodec / escape130.c
index abba96509668562804ad008858b7d824a061a5dd..bc865a3b21e42d74d30b01de48677d9dddb9c047 100644 (file)
@@ -345,6 +345,7 @@ static int escape130_decode_frame(AVCodecContext *avctx, void *data,
 
 AVCodec ff_escape130_decoder = {
     .name           = "escape130",
+    .long_name      = NULL_IF_CONFIG_SMALL("Escape 130"),
     .type           = AVMEDIA_TYPE_VIDEO,
     .id             = AV_CODEC_ID_ESCAPE130,
     .priv_data_size = sizeof(Escape130Context),
@@ -352,5 +353,4 @@ AVCodec ff_escape130_decoder = {
     .close          = escape130_decode_close,
     .decode         = escape130_decode_frame,
     .capabilities   = CODEC_CAP_DR1,
-    .long_name      = NULL_IF_CONFIG_SMALL("Escape 130"),
 };