]> git.sesse.net Git - ffmpeg/commit
lavf/sr: Refine the coding style for init
authorJun Zhao <barryjzhao@tencent.com>
Sat, 1 Jun 2019 03:28:56 +0000 (11:28 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Mon, 3 Jun 2019 05:04:23 +0000 (13:04 +0800)
commit0b7bfa8ad79e483fd81fc006b35c4ef86990d46f
tree0ace2cdbb1e949d31669baf85acc8a0f9b1bb256
parent5c1fbc42397b26fe77abbd7e2ae604d57274ac35
lavf/sr: Refine the coding style for init

We perfer the coding style like:

/* some stuff */
if (error) {
    /* error handling */
    return -(errorcode);
}
/* normal actions */
do_something()

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavfilter/vf_sr.c