projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c1803
)
Simplify: remove pointless {} and else
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Thu, 1 Oct 2009 17:26:20 +0000
(17:26 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Thu, 1 Oct 2009 17:26:20 +0000
(17:26 +0000)
Originally committed as revision 20129 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/raw.c
patch
|
blob
|
history
diff --git
a/libavformat/raw.c
b/libavformat/raw.c
index
3c118b3
..
4b0a31c
100644
(file)
--- a/
libavformat/raw.c
+++ b/
libavformat/raw.c
@@
-171,11
+171,9
@@
static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt)
pkt->dts= pkt->pos / packet_size;
pkt->stream_index = 0;
- if (ret != packet_size)
{
+ if (ret != packet_size)
return AVERROR(EIO);
- } else {
- return 0;
- }
+ return 0;
}
#endif