summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_h264.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-04-29 20:37:24 +0300
committerMartin Storsjö <martin@martin.st>2016-04-30 20:57:44 +0300
commitb55e3633d3f60cf0f51269f25936409b79d2729e (patch)
tree3f80e35019d9c4820a33d55c8e1e4a95b36227ee /libavformat/rtpdec_h264.c
parent70c77fdfc1076fd7f6cd20079237ddc97e1a10bc (diff)
rtpdec: Use AVERROR_PATCHWELCOME instead of AVERROR(ENOSYS) for unimplemented features
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_h264.c')
-rw-r--r--libavformat/rtpdec_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index d7b39ac895..d7c5e1520f 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -350,7 +350,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
av_log(ctx, AV_LOG_ERROR,
"Unhandled type (%d) (See RFC for implementation details)\n",
type);
- result = AVERROR(ENOSYS);
+ result = AVERROR_PATCHWELCOME;
break;
case 28: // FU-A (fragmented nal)