diff options
Diffstat (limited to 'libavformat/txd.c')
-rw-r--r-- | libavformat/txd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/txd.c b/libavformat/txd.c index 19febd160c..8843226681 100644 --- a/libavformat/txd.c +++ b/libavformat/txd.c @@ -41,7 +41,7 @@ static int txd_read_header(AVFormatContext *s, AVFormatParameters *ap) { st = av_new_stream(s, 0); if (!st) - return AVERROR_NOMEM; + return AVERROR(ENOMEM); st->codec->codec_type = CODEC_TYPE_VIDEO; st->codec->codec_id = CODEC_ID_TXD; st->codec->time_base.den = 5; |